<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/login">登录</RouterLink>
        <RouterLink to="/member">注册</RouterLink>
        <RouterLink to="/add">添加</RouterLink>
        <RouterLink to="/memberList">会员列表</RouterLink>
        <RouterLink to="/memberupdate">会员修改</RouterLink>
        <RouterLink to="/shopadd">门店增加</RouterLink>
        <RouterLink to="/shopShow">门店显示</RouterLink>
        
  </nav>

  <RouterView />
</template>

<style scoped>
  a{
    margin: 10px;
  }
</style>
